package com.cws.project.cws.clazz.domain;

import com.cws.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 班级用户关联对象 cws_clazz_user
 * 
 * @author xyl
 * @date 2021-12-21
 */
public class ClazzUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级id */
    private Long clazzId;

    /** 用户id */
    private Long userId;

    public void setClazzId(Long clazzId)
    {
        this.clazzId = clazzId;
    }

    public Long getClazzId()
    {
        return clazzId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clazzId", getClazzId())
            .append("userId", getUserId())
            .toString();
    }
}
